//
//  LocationCell.m
//  FKGW
//
//  Created by song ce on 2017/5/26.
//  Copyright © 2017年 song ce. All rights reserved.
//

#import "LocationCell.h"

@implementation LocationCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
//获取城市名称
- (IBAction)cityNameAction:(UIButton *)sender {
    if(self.cityNameBlock){
        self.cityNameBlock(sender.currentTitle);
    }
}
//定位
- (IBAction)loactionAction:(UIButton *)sender {
    if(self.locationBlock){
        self.locationBlock();
    }    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
